<template>
  <div class="block">
    <el-carousel height="117.5px">
      <el-carousel-item v-for="item in list" :key="item.swiperId">
        <a :href="item.swiperLink"><img class="Swiper-img" :src="item.swiperImg" /></a>
      </el-carousel-item>
    </el-carousel>
  </div>
</template>

<script>
export default {
    name: 'HomeSwiper',
    props: {
      list: Array
    }
}
</script>

<style lang="stylus" scoped>
  .Swiper-img
    width: 100%
</style>